/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao.service;

import java.util.List;
import model.entities.Course;

/**
 *
 * @author K u Ku
 */
public interface CourseDAOService {
    public List<model.entities.Course> getCourseList();
    public Course getCourseByID(int CourseID);
    public List<Course> getCourseByTeacherID(int teacherID);
    public boolean insertCourse(model.entities.Course course);
    public boolean updateCourse(model.entities.Course course);
    public boolean deleteCourse(int courseID);
    public List<model.entities.Course> findByID(int id);
    public List<model.entities.Course> findByName(String name);
}
